package com.hqyj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author rock
 * @since 2023-02-13 03:04:00
 */
@Getter
@Setter
@TableName("goods_detail")
public class GoodsDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "goods_detail_id", type = IdType.AUTO)
    private Integer goodsDetailId;

    /**
     * 商品描述
     */
    @TableField("goods_detail_desc")
    private String goodsDetailDesc;

    /**
     * 商品Id
     */
    @TableField("goods_id")
    private Integer goodsId;

    /**
     * 商品型号
     */
    @TableField("goods_model")
    private String goodsModel;

    /**
     * 商品颜色
     */
    @TableField("goods_color")
    private String goodsColor;

    /**
     * 商品产地
     */
    @TableField("goods_place")
    private String goodsPlace;

    /**
     * 详情左边图片地址,多个地址用逗号分割开
     */
    @TableField("goods_img_left")
    private String goodsImgLeft;

    /**
     *  商品详情底部地址,多个地址用逗号分割开
     */
    @TableField("goods_img_bottom")
    private String goodsImgBottom;

    /**
     * 上架时间
     */
    @TableField("ground_time")
    private Date groundTime;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 是否删除
     */
    @TableField("deleted")
    @TableLogic
    private Integer deleted;

    /**
     * 商品状态 0 正常 1 下架 2 删除
     */
    @TableField("status")
    private Integer status;


}
